package com.lxk.bean;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public class TableInfo {
    /**
     * 表名
     */
    private String tableName;

    /**
     * Bean名
     */
    private String beanName;

    /**
     * Bean参数名
     */
    private String beanParamName;

    /**
     * 表注释
     */
    private String comment;

    /**
     * 字段信息
     */
    private List<FieldInfo> fieldList;

    /**
     * 扩展字段信息
     */
    private List<FieldInfo> fieldExtendList;

    /**
     * 主键索引(唯一索引集合)
     */
    private Map<String, List<FieldInfo>> keyIndexMap = new LinkedHashMap<>();

    /**
     * 是否有日期字段
     */
    private Boolean havaDate;

    /**
     * 是否有日期时间字段
     */
    private Boolean havaDateTime;

    /**
     * 是否有BigDecimal字段
     */
    private Boolean havaBigDecimal;



    /**
     * 获取
     * @return tableName
     */
    public String getTableName() {
        return tableName;
    }

    /**
     * 设置
     * @param tableName
     */
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    /**
     * 获取
     * @return beanName
     */
    public String getBeanName() {
        return beanName;
    }

    /**
     * 设置
     * @param beanName
     */
    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    /**
     * 获取
     * @return beanParamName
     */
    public String getBeanParamName() {
        return beanParamName;
    }

    /**
     * 设置
     * @param beanParamName
     */
    public void setBeanParamName(String beanParamName) {
        this.beanParamName = beanParamName;
    }

    /**
     * 获取
     * @return comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * 设置
     * @param comment
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * 获取
     * @return fieldList
     */
    public List<FieldInfo> getFieldList() {
        return fieldList;
    }

    /**
     * 设置
     * @param fieldList
     */
    public void setFieldList(List<FieldInfo> fieldList) {
        this.fieldList = fieldList;
    }

    /**
     * 获取
     * @return keyIndexMap
     */
    public Map<String, List<FieldInfo>> getKeyIndexMap() {
        return keyIndexMap;
    }

    /**
     * 设置
     * @param keyIndexMap
     */
    public void setKeyIndexMap(Map<String, List<FieldInfo>> keyIndexMap) {
        this.keyIndexMap = keyIndexMap;
    }

    /**
     * 获取
     * @return havaDate
     */
    public Boolean getHavaDate() {
        return havaDate;
    }

    /**
     * 设置
     * @param havaDate
     */
    public void setHavaDate(Boolean havaDate) {
        this.havaDate = havaDate;
    }

    /**
     * 获取
     * @return havaDateTime
     */
    public Boolean getHavaDateTime() {
        return havaDateTime;
    }

    /**
     * 设置
     * @param havaDateTime
     */
    public void setHavaDateTime(Boolean havaDateTime) {
        this.havaDateTime = havaDateTime;
    }

    /**
     * 获取
     * @return havaBigDecimal
     */
    public Boolean getHavaBigDecimal() {
        return havaBigDecimal;
    }

    /**
     * 设置
     * @param havaBigDecimal
     */
    public void setHavaBigDecimal(Boolean havaBigDecimal) {
        this.havaBigDecimal = havaBigDecimal;
    }


    /**
     * 获取
     * @return extendFieldList
     */
    public List<FieldInfo> getFieldExtendList() {
        return fieldExtendList;
    }

    /**
     * 设置
     * @param fieldExtendList
     */
    public void setFieldExtendList(List<FieldInfo> fieldExtendList) {
        this.fieldExtendList = fieldExtendList;
    }

}
